package com.itheima.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mp.domain.dto.PageDTO;
import com.itheima.mp.domain.po.User;
import com.itheima.mp.domain.query.UserQuery;
import com.itheima.mp.domain.vo.UserVO;

import java.util.List;

public interface Uservice extends IService<User> {
    void reduceMoney(Long id, Integer reduceMoney);

    List<User> conplexConditionalQueries(UserQuery userQuery);

    void saveBatchCheck(List<User> users);

    UserVO queryAddressByUserId(Long id);

    PageDTO<UserVO> queryUserList(UserQuery userQuery);
}
